package com.xxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxy.entity.Interaction;
import com.xxy.entity.dto.InteractionQueryDTO;
import com.xxy.entity.vo.ProductVO;
import com.xxy.result.PageResult;
import com.xxy.result.Result;

import java.util.List;

public interface IInteractionService extends IService<Interaction> {

    void saveOperation(Long productId);

    Result<String> wantProduct(Long productId);

    List<Interaction> queryByFilter(InteractionQueryDTO interactionQueryDTO);

    Result<List<ProductVO>> queryCollection();

    void view(Long productId);

    List<ProductVO> queryView();
}
